<template>
  <div class="tab-list-container">
    <div class="tab-nav-wrap">
      <ul class="tab-nav bid-flex">
        <li class="nav-item left-slot">友情链接</li>
        <li class="nav-item"></li>
      </ul>
    </div>
    <div class="tab-content-wrap">
      <div class="link-row-item">
        <div class="link-item" v-for="(item, idex) in linkList" :key="idex">
          {{ item }}
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "index-link-list",
  data() {
    return {
      linkList: [
        "中华人民共和国工业和信息化部",
        "中华人民共和国监察部",
        "中华人民共和国住房和域乡建设部",
        "中华人民共和国交通运输部",
        "中华人民共和国商务部",
        "中华人民共和国水利部",
        "中国政府网",
        "中国招标投标公共服务平台",
        "中国政府采购网",
        "全国公共资源交易平台",
        "军队采购网",
        "中国招标投标协会",
        "中国服装协会网",
        "中国家具协会",
        "中国塑料管道",
        "中央国家机关人民防空网",
        "中国物业管理协会",
        "信用中国",
        "中国质量认证中心"
      ]
    };
  }
};
</script>
<style scoped>
.tab-nav-wrap {
  background-color: #f0f0f0;
}

.left-slot,
.nav-item {
  height: 0.44rem;
  padding: 0 0.17rem;
  line-height: 0.44rem;
  font-size: 0.16rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-item {
  color: #1571ba;
  text-align: center;
  border-top: 0.02rem solid #1571ba;
  border-bottom: 0.01rem solid #ddd;
  background-color: #f0f0f0;
  box-sizing: border-box;
}

.left-slot {
  color: #fff;
  font-size: 0.18rem;
  /* border-top: 0.01rem solid #1571ba; */
  border-bottom: 0.01rem solid #1571ba;
  background-color: #1571ba;
}

.tab-nav .nav-item:last-child {
  flex: 2;
  border-right: 0.01rem solid #ddd;
}

.tab-nav .nav-item.active {
  padding-top: 0.02rem;
  border-left: 0.01rem solid #ddd;
  border-right: 0.01rem solid #ddd;
  border-bottom: none;
  background-color: #fff;
}

.tab-content-wrap {
  padding-top: 0.15rem;
  overflow: hidden;
  border-left: 0.01rem solid #ddd;
  border-right: 0.01rem solid #ddd;
  border-bottom: 0.01rem solid #ddd;
}

.company-row-item {
  margin: 0.24rem 0 0.18rem 0;
  justify-content: space-evenly;
}

.link-item {
  display: inline-block;
  margin: 0.2rem 0.25rem;
  font-size: 0.16rem;
}
</style>
